package com.jeecms.wicool.dao.lottery;

import java.util.List;

import com.jeecms.cms.entity.main.CmsUser;
import com.jeecms.common.hibernate3.Updater;
import com.jeecms.common.page.Pagination;
import com.jeecms.wicool.entity.lottery.ActiveConfig;

public interface ActiveConfigDao {
	public Pagination getPage(String name,Integer status,String startTime,String endTime, int pageNo, int pageSize,CmsUser user);

	public ActiveConfig findById(Integer id);

	public ActiveConfig save(ActiveConfig bean);

	public ActiveConfig updateByUpdater(Updater<ActiveConfig> updater);

	public ActiveConfig deleteById(Integer id);
	
	public List<ActiveConfig> getAll(CmsUser user);
}